package com.cyz.web.app.facade;

public class Face {

    private FireSystem fireSystem;

    private UserSystem userSystem;

    public Face(FireSystem fireSystem, UserSystem userSystem) {
        this.fireSystem = fireSystem;
        this.userSystem = userSystem;
    }


    public void shooting(){
        fireSystem.useBullet();
        fireSystem.fire();
        userSystem.loseBlood();
        userSystem.addScore();
    }
}
